<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>数据备份</title>
    <meta content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no" name="viewport">
    <link rel="stylesheet" href="${request.contextPath}/statics/common/plugins/bootstrap/css/bootstrap.min.css">
    <link rel="stylesheet" href="${request.contextPath}/statics/common/plugins/adminLTE/css/AdminLTE.css">
    <link rel="stylesheet" href="${request.contextPath}/statics/common/plugins/adminLTE/css/skins/_all-skins.min.css">
    <link rel="stylesheet" href="${request.contextPath}/statics/common/css/style.css">
    <script src="${request.contextPath}/statics/libs/jquery.min.js"></script>
    <script src="${request.contextPath}/statics/common/plugins/bootstrap/js/bootstrap.min.js"></script>

    <script src="${request.contextPath}/statics/plugins/layer/layer.js"></script>

    <script type="text/javascript"
            src="${request.contextPath}/statics/common/plugins/angularjs/angular.min.js"></script>
    <!-- 分页组件开始 -->
    <script src="${request.contextPath}/statics/common/plugins/angularjs/pagination.js"></script>
    <link rel="stylesheet" href="${request.contextPath}/statics/common/plugins/angularjs/pagination.css">
    <!-- 分页组件结束 -->
    <script type="text/javascript" src="../../../statics/common/js/base_pagination.js"></script>
    <script type="text/javascript" src="../../../statics/common/js/service/tableService.js"></script>
    <script type="text/javascript" src="../../../statics/common/js/controller/baseController.js"></script>
    <script type="text/javascript" src="../../../statics/common/js/controller/tableController.js"></script>
</head>
<body class="hold-transition skin-red sidebar-mini" ng-app="pinyougou" ng-controller="tableController"
      ng-init="searchEntity={tableName:'tb_pay_log'}">
<!-- .box-body -->
<div class="box-header with-border">
    <h3 class="box-title">库表详情</h3>
</div>

<div class="box-body">

    <!-- 数据表格 -->
    <div class="table-box">
        <!--工具栏-->
        <div class="box-tools pull-right">
            <div class="has-feedback">
                表名称:<input ng-model="searchEntity.tableName">
                <button class="btn btn-default" ng-click="reloadList()">查询</button>
            </div>
        </div>
        <!--工具栏/-->

        <!--数据列表-->
        <table id="dataList" class="table table-bordered table-striped table-hover dataTable">
            <thead>
            <tr>
                <th class="" style="padding-right:0px">
                    <input id="selall" type="checkbox" class="icheckbox_square-blue">
                </th>
                <th class="sorting_asc">表名</th>
                <th class="sorting">Engine</th>
                <th class="sorting">表备注</th>
                <th class="sorting">创建时间</th>
                <th class="text-center">操作</th>
            </tr>
            </thead>
            <tbody>
            <tr ng-repeat="entity in list">
                <td><input type="checkbox" class="icheckbox_square-blue"></td>
                <td>{{entity.tableName}}</td>
                <td>{{entity.engine}}</td>
                <td>{{entity.tableComment}}</td>
                <td>{{entity.createTime}}</td>
                <td class="text-center">
                    <button type="button" class="btn bg-olive btn-xs" ng-click="copy()">备份
                    </button>
                </td>
            </tr>
            </tbody>
        </table>
        <!--数据列表/-->
        <tm-pagination conf="paginationConf"></tm-pagination>
        <!--数据列表/-->

    </div>
    <!-- 数据表格 /-->

</div>
<!-- /.box-body -->

</body>
</html>